package com.briup.user.mapper.extend;

import com.briup.user.entity.User;

/**
 * @author wood
 */
public interface UserExtendMapper {
    User findByTelephone(String telephone);

    User findByUserName(String username);
    // 绑定用户和角色关系(中间表)
    void insertUserAndRole_r(Integer userId, Integer roleId);
}
